package com.fp.m7.api.model;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

public interface Account extends EntityBase {

	@Pattern(regexp = "^[a-zA-Z0-9_]{4,100}$")
	@NotNull
	String getUsername();

	void setUsername(String username);

	@NotNull
	String getPassword();

	void setPassword(String password);

	@Size(max = 1000)
	String getDescription();

	void setDescription(String description);

	@Size(max = 160)
	String getStatus();

	void setStatus(String status);

	@Pattern(regexp = "^[a-zA-Z0-9_]{1,50}$")
	@NotNull
	String getNickname();

	void setNickname(String nickname);

	String getAvatarUrl();

	void setAvatarUrl(String avatarUrl);

}
